package com.meilai.project.entity.business.workbench;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 客户预估签单记录表
 * </p>
 *
 * @author haiYangXu
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("customer_estimate_record")
@ApiModel(value = "CustomerEstimateRecord对象", description = "客户预估签单记录表")
public class CustomerEstimateRecord extends BaseEntity {
    @ApiModelProperty("客户ID")
    private Long customer_id;

    @ApiModelProperty("预估签单时间段ID")
    private Long week_id;

    @ApiModelProperty("预估签单额")
    private BigDecimal quota;

    @ApiModelProperty("成交预估")
    private BigDecimal transaction_evaluation;

    @ApiModelProperty("未签单原因")
    private String reasons_for_not_cooperating;

    @ApiModelProperty("客户关联的target_id")
    @TableField(exist = false)
    private Long target_record_id;
}
